package com.zw.mes.module.assemble.service;

import com.zw.mes.module.assemble.entity.AsseStore;
import com.zw.mes.module.assemble.mapper.SelMapper;
import com.zw.mes.module.assemble.model.StoreRecordModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 装配任务池 成品库池 成品库出入库记录 业务
 * @Author: China.wsg
 * @Date: 2021/04/23 14:12
 */
@Service
@SuppressWarnings("all")
public class SelService {

    @Autowired
    private SelMapper selMapper;

    /**
     * @Author wsg
     * @Date 10:29 2021/5/11
     * @Description 成品库出入库记录 列表
     **/
    public List<StoreRecordModel> findRecordListByQuery(StoreRecordModel recordModel) {
        return selMapper.findRecordListByQuery(recordModel);
    }

    /**
     * @Author wsg
     * @Date 13:20 2021/5/11
     * @Description 成品库池 列表
     **/
    public List<AsseStore> findAsseStoreListByQuery(AsseStore asseStore) {
        return selMapper.findAsseStoreListByQuery(asseStore);
    }

}
